package com.atguigu.spzx.common.constant;


public enum OrderProcessEnum {

    PENDING_PAYMENT(0, "待付款"),
    PENDING_SHIPMENT(1, "待发货"),
    SHIPPED(2, "已发货"),
    DELIVERED(3, "待用户收货，已完成"),
    CANCELLED(-1, "已取消");
    ;

    private Integer code;
    private String desc;

    OrderProcessEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }
}
